package com.woniuxy.carlife.carlifeuserweb.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author zjq
 * @ClassName:Usercar
 * @Description:
 * @date 2021/4/6 20:02
 **/

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_usercar")
@ApiModel(value = "Usercar对象", description = "")
public class Usercar implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "usercar_id", type = IdType.AUTO)
    private Integer usercarId;

    private Integer userId;

    private String usercarImage;

    private Integer carbrandId;

    private String carbrandName;

    @ApiModelProperty(value = "车辆型号id")
    private Integer carmodelId;

    @ApiModelProperty(value = "车辆型号名字")
    private String carmodelName;

    @ApiModelProperty(value = "车辆排量id")
    private Integer cardisplacementId;

    @ApiModelProperty(value = "车辆排量名字")
    private String cardisplacementName;

    @ApiModelProperty(value = "年份id")
    private Integer caryearsId;

    @ApiModelProperty(value = "年份名字")
    private String caryearsName;

    private Long usercarMileage;

    private String usercarRoadtime;

    private String usercarRegistrationtime;

    private String licenseimage;

    private String usercarNumberplate;

    private Integer usercarDefault;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    private String usercarOperationrecord;


}
